define(function(require, exports, module) {
  // var Backbone = require('backbone');
  var $ = require('jquery');
  var _ = require('lodash');
  // var jsonview = require('jsonview');
  var tmpl = require('../tmpl.html');
  
  require('https://cdn.bootcdn.net/ajax/libs/antd/4.16.9/antd.min.css')

  function main() {
    var $app = $('<div id="app">');
    $('#main').html($app);

    $app.append(tmpl);
    
    // require(['./src/index.jsx']) //没有导出，直接引入自执行
    require(['./src/index.jsx'], ({ init }) => {
      init()
    });
  }

  return main;
})
